package com.xxm.ffmpeg

import android.util.Log
import java.lang.Exception

object FFmpegManager {
    private const val TAG = "FFmpegManager"

    init {
        try {
            System.loadLibrary("ffmpeg")
        }catch (e:Exception){
            Log.d(TAG,"init ffmpeg error:${e.message}")
            e.printStackTrace()
        }
    }

    fun getFFmpegVersion(): String {
        return FFmpegJni.getVersion()
    }
}